package cn.tedu.icop.basic.dao.repository.impl;

import cn.tedu.icop.api.domain.GunStatusUpdateParam;
import cn.tedu.icop.basic.dao.mapper.GunMapper;
import cn.tedu.icop.basic.dao.repository.GunRepository;
import org.springframework.stereotype.Repository;

@Repository
public class GunRepositoryImpl implements GunRepository {
    private GunMapper gunMapper;
    public GunRepositoryImpl(GunMapper gunMapper) {
        this.gunMapper = gunMapper;
    }
    @Override
    public int updateGunStatus(GunStatusUpdateParam param) {
        return gunMapper.updateGunStatus(param);
    }
}
